package com.hua.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author smion
 * @since 2022-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Entry implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 项目名称
     */
    @TableField("entryName")
    @Excel(name ="项目名称",width = 30)
    private String entryname;

    /**
     * 照片
     */
    private String image;

    /**
     * 工程名称
     */
    @TableField("projectName")
    @Excel(name ="工程名称",width = 30)
    private String projectname;

    /**
     * 创建时间
     */
    @TableField("createTime")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/shanghai")
    @Excel(name = "创建时间",width = 20,format = "yyyy-MM-dd")
    private Date createtime;

    /**
     * 更新时间
     */
    @TableField("updateTime")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/shanghai")
    @Excel(name = "更新时间",width = 20,format = "yyyy-MM-dd")
    private Date updatetime;

    /**
     * 工程结束时间
     */
    @TableField("endTime")
    private Date endtime;

    /**
     * 工程开始时间
     */
    @TableField("startTime")
    private Date starttime;

    /**
     * 检查内容
     */
    private String contents;

    /**
     * 是否合格
     */
    @TableField("isQualified")
    private String isqualified;

    /**
     *
     */
    @TableField("quantities")
    private Double quantities;


}
